package homework2;

public class Number {
    private int n1;
    private int n2;

    public Number() {
    }

    public Number(int n1, int n2) {
        this.n1 = n1;
        this.n2 = n2;
    }

    public int getN1() {
        return n1;
    }

    public void setN1(int n1) {
        this.n1 = n1;
    }

    public int getN2() {
        return n2;
    }

    public void setN2(int n2) {
        this.n2 = n2;
    }




    public void addition(){
        System.out.println((this.n1 + this.n2));
    }
    public void subtration(){
        System.out.println((this.n1 - this.n2));
    }
    public void multiplication(){
        System.out.println((this.n1 * this.n2));
    }
    public void division(){
        System.out.println((this.n1 / this.n2));
    }

}
